package org.example.factory;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.example.entity.Connection;
import org.example.entity.imple.HTTPConnection;
@NoArgsConstructor
@Data
public class HTTPConnectionFactory implements FactoryMethod {
    @Override
    public Connection createConnection() {
        System.out.println("set HTTPConnection...");
        return new HTTPConnection();
    }
}
